package com.google.common.io;

import java.io.DataInput;

public interface ByteArrayDataInput extends DataInput {
  @Override
  void readFully(byte[] b);

  @Override
  void readFully(byte[] b, int off, int len);

  // not guaranteed to skip n bytes so result should NOT be ignored
  // use ByteStreams.skipFully or one of the read methods instead
  @Override
  int skipBytes(int n);

   // to skip a byte
  @Override
  boolean readBoolean();

   // to skip a byte
  @Override
  byte readByte();

   // to skip a byte
  @Override
  int readUnsignedByte();

   // to skip some bytes
  @Override
  short readShort();

   // to skip some bytes
  @Override
  int readUnsignedShort();

   // to skip some bytes
  @Override
  char readChar();

   // to skip some bytes
  @Override
  int readInt();

   // to skip some bytes
  @Override
  long readLong();

   // to skip some bytes
  @Override
  float readFloat();

   // to skip some bytes
  @Override
  double readDouble();

   // to skip a line
  @Override
  String readLine();

   // to skip a field
  @Override
  String readUTF();
}
